Please refer to the homework policy.

Before you worry about any writing code, break down the problem statement and come up with a list of discrete requirements. Then figure out what your program needs to do, and come up with lists of steps for each thing. Develop your logic and program flow, then begin translating this information into code.